package fr.cpe.j2ee.projet.war;

import java.util.Date;

public class UserBean
{
	private int id;

	private String firstname;
	private String lastname;
	private String username;
	private String password;
	private String email;
	private int age;
	private Date indate;

	public UserBean(int id, String firstname, String lastname, String username,
			String password, String email, int age, Date indate)
	{
		this.id = id;
		this.firstname = firstname;
		this.lastname = lastname;
		this.username = username;
		this.password = password;
		this.email = email;
		this.age = age;
		this.indate = indate;
	}

	public UserBean()
	{
		// TODO Auto-generated constructor stub
	}

	public int getId()
	{
		return id;
	}

	public void setId(int id)
	{
		this.id = id;
	}
	
	public String getFirstname()
	{
		return firstname;
	}

	public void setFirstname(String firstname)
	{
		this.firstname = firstname;
	}

	public String getLastname()
	{
		return lastname;
	}

	public void setLastname(String lastname)
	{
		this.lastname = lastname;
	}

	public String getUsername()
	{
		return username;
	}

	public void setUsername(String username)
	{
		this.username = username;
	}

	public String getPassword()
	{
		return password;
	}

	public void setPassword(String password)
	{
		this.password = password;
	}
	
	public String getEmail()
	{
		return email;
	}

	public void setEmail(String email)
	{
		this.email = email;
	}

	public int getAge()
	{
		return age;
	}

	public void setAge(int age)
	{
		this.age = age;
	}

	public Date getIndate()
	{
		return indate;
	}

	public void setIndate(Date indate)
	{
		this.indate = indate;
	}
}
